#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL
{
     // <summary> 
	// ! This class is purely virtual and acts as a base class for the actual cash flow implementations.
	// </summary>
    [Guid ("3936341B-AA61-49ab-B7BA-529FAE6BFCEA"),ComVisible(true)]
	public interface ICashFlow : Cephei.QL.IEvent
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Boolean HasOccurred(Microsoft.FSharp.Core.FSharpOption<DateTime> refDate, Microsoft.FSharp.Core.FSharpOption<Boolean> includeRefDate);
        
		 Double Amount {get;}
        
		 DateTime Date {get;}
    }

    // <summary> 
	// ! This class is purely virtual and acts as a base class for the actual cash flow implementations. Factory
	// </summary>
   	[ComVisible(true)]
    public interface ICashFlow_Factory // : Collection_Factory<ICashFlow, ICell<ICashFlow>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Matrix of ICashFlow, with event notification of changes
        /// </summary>
        /// <returns>a new Matrix&ltICashFlow&gt</returns>
        IMatrix<ICashFlow> CreateMatrix();
        /// <summary>
        /// Create a hybrid Matrix of ICell of ICashFlow, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIMatrix&ltI&ltICashFlow&gt&gt&gt</returns>
        Generic.ICell<IMatrix<Generic.ICell<ICashFlow>>> CreateCellMatrix();
        IMatrix<ICashFlow> CreateMatrix(IEnumerable<Cephei.IVector<ICashFlow>> source);
        Generic.ICell<IMatrix<Generic.ICell<ICashFlow>>> CreateCellMatrix(IEnumerable<Cephei.IVector<Generic.ICell<ICashFlow>>> source);
        /// <summary>
        /// Create a hybrid Vector of ICashFlow, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltICashFlow&gt</returns>
        IVector<ICashFlow> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of ICashFlow, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltICashFlow&gt&gt&gt</returns>
        Generic.ICell<IVector<Generic.ICell<ICashFlow>>> CreateCellVector();
        IVector<ICashFlow> CreateVector(IEnumerable<ICashFlow> source);
        Generic.ICell<IVector<Generic.ICell<ICashFlow>>> CreateCellVector(IEnumerable<Generic.ICell<ICashFlow>> source);
    }
}

